import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by planck on 2016/11/9.
 */
public class SimpleRunnerable implements Runnable {


    private final Logger logger = LoggerFactory.getLogger(SimpleRunnerable.class);
    private int i;

    public SimpleRunnerable(int i) {
        this.i = i;
    }

    @Override
    public void run() {
        try {
            Thread.sleep(10000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        logger.info("i = {}", i);
    }
}
